package com.dtagri.fjwlw.adapter.viewholders;

import android.widget.RelativeLayout;
import android.widget.TextView;

import com.dtagri.fjwlw.R;

/**
 * @author wxjn
 * 
 */
public class MonitoringAlarmViewHolder extends ViewHolder {
	public TextView tvArea;
	public TextView tvKey;
	public TextView tvValue;
	public TextView tvTime;
	public RelativeLayout titleLine;

	@Override
	protected int getItemLayout() {
		return R.layout.list_cell_monitoring_alarm;
	}

	@Override
	protected void initWidgets() {
		tvArea = (TextView) findViewById(R.id.tv_realtime_data_area);
		tvKey = (TextView) findViewById(R.id.tv_realtime_data_key);
		tvValue = (TextView) findViewById(R.id.tv_realtime_data_value);
		tvTime = (TextView) findViewById(R.id.tv_realtime_data_time);
		titleLine = (RelativeLayout) findViewById(R.id.title_line);
	}
}
